package com.gosling.cloudspace.common.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import org.springframework.web.multipart.MultipartFile;

import java.io.File;
import java.util.LinkedHashSet;

/**
 * @email 1793327033@qq.com
 * @classname LoginDto
 * @author lihonglin
 * @date 2022/6/2 13:39
 */
@Data
@ToString
public class WhereSqlEntity {

    @ApiModelProperty("条件字段集合")
    private LinkedHashSet<String> whereFields;

    @ApiModelProperty("需要to_date的字段")
    private LinkedHashSet<String> toDateFields;

    @ApiModelProperty("需要to_char的字段")
    private LinkedHashSet<String> toCharFields;

    @ApiModelProperty("表名")
    private String tableName;

    @ApiModelProperty("是否是插入")
    private boolean isInsert;

    @ApiModelProperty("导出目标路径")
    private String target;

    @ApiModelProperty("原路径")
    private String resource;

    @ApiModelProperty("源文件")
    private MultipartFile resourceFile;

}
